package main

import (
	"lnzw/engine/log"
	"lnzw/engine/nats"

	"go.uber.org/zap"
)

func main() {
	log.Setup()
	nats.Setup()
	bs, err := nats.Request("test", []byte("test"))
	if err != nil {
		log.Error("test", zap.Any("err", err))
	} else {
		log.Info("test", zap.String("msg", string(bs)))
	}
}
